#ifndef __IMICONTROLSWITCH_H__
#include "cocos2d.h"
#include "cocos-ext.h"
USING_NS_CC;
USING_NS_CC_EXT;
class IMIControlSwitch : public CCControlSwitch
{
public:
	IMIControlSwitch(){};
	~IMIControlSwitch(){};
   
    static IMIControlSwitch* create(CCSprite *maskSprite, CCSprite * onSprite, CCSprite * offSprite, CCSprite * thumbSprite);

    static IMIControlSwitch* create(CCSprite *maskSprite, CCSprite * onSprite, CCSprite * offSprite, CCSprite * thumbSprite, CCLabelTTF* onLabel, CCLabelTTF* offLabel);

	void registerWithTouchDispatcher();

};


#endif // !__IMICONTROLSWITCH_H__
